package com.yunhe.springbootdemo3.dao;

import com.yunhe.springbootday1.domain.Post;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PostDao {
    List<Post> allPosts();

    Post getPostById(int postId);
}
